@import "~styles/_global.scss";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

.oAuthButton {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: $size-1 solid transparent;
  padding: 0 $size-24 0 0;
  height: $size-40;
  box-sizing: border-box;
  font-size: $size-14;
  color: $white;
  border-radius: $size-2;

  &Google {
    font-family: 'Roboto', sans-serif;
    background-color: #4285f4;
    letter-spacing: 0.21px;
    box-shadow: 0 $size-2 $size-4 0 rgba(0, 0, 0, 0.25);

    &:hover,
    &:focus {
      box-shadow: 0 0 3px 3px rgba(66, 133, 244, 0.3);
    }

    > img {
      width: $size-18;
      padding: $size-10;
      background-color: $white;
      border-radius: $size-1;
      margin-right: $size-24;
    }
  }

  &Facebook {
    background-color: #1877f2;
    font-weight: bold;
    padding: 0 $size-20;

    &:hover,
    &:focus {
      opacity: 0.8;
    }

    > img {
      margin-right: $size-10;
      width: $size-24;
    }
  }

  @media screen and (max-width: $x-small) {
    height: auto;
  }
}
